# 标准输出函数
# print("Hello World")

# 变量
# a = "warrior"

# 字符串类型
# print(help(str))
v01 = "hello boy"
print(v01.capitalize())
print(v01)
print(v01.title())
print("============")

v02 = "Hello"
v03 = "hEllO"
print(v02.casefold())
print(v03.casefold())
print(v02 == v03)
print(v02.casefold() == v03.casefold())
print("=========")

v04 = "warrior"
v05 = v04
print(v04, v05)
print(v04 == v05)  # 指向的值是否相等
print(id(v04)) # 获取变量的地址
print(id(v05))
print(v04 is v05) # 执行的地址是否相等
v04 = "fury"
print(v04, v05)
print(v04 == v05)
print(id(v04))
print(id(v05))
print(v04 is v05)




# 变量
# a = 123
# print("修改前的类型：", type(a))
# a = "warrior"
# print("修改后的类型：", type(a))
